﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:CoderJoe_WoW_GearManager="clr-namespace:CoderJoe.WoW.GearManager" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="CoderJoe.WoW.GearManager.Views.ItemToolTipView"
    Width="300" WindowStyle="None" ShowInTaskbar="False" SizeToContent="Height" Background="Transparent" AllowsTransparency="True" mc:Ignorable="d">
    <Border CornerRadius="6,6,6,6" Background="#FF071027" BorderBrush="Silver" BorderThickness="3">
        <StackPanel Margin="8">
            <TextBox FontSize="14" Text="{Binding Name}" Foreground="{Binding NameColor}" BorderThickness="0" Background="Transparent" />
            <TextBox FontSize="12" Text="{Binding Bonding}" BorderThickness="0" Background="Transparent" Foreground="White" />
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <TextBox FontSize="12" Grid.Column="0" Text="{Binding ItemSlot}" BorderThickness="0" Background="Transparent" Foreground="White" />
                <TextBox FontSize="12" Grid.Column="1" FlowDirection="RightToLeft" Text="{Binding ItemClass}" BorderThickness="0" Background="Transparent" Foreground="White" />
            </Grid>
            <ListView BorderThickness="0" Background="Transparent" ItemsSource="{Binding Path=Attributes}" ItemTemplate="{DynamicResource ItemSocketAttributeTemplate}" />
        </StackPanel>
    </Border>
</Window>
